<%@ page language="java" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@ taglib tagdir="/WEB-INF/tags" prefix="hh"%>
<%@ page import="java.util.*"%>
<%@ page import="com.mymail.entity.*"%>
<jsp:useBean id="user" class="com.mymail.entity.User" scope="session"></jsp:useBean>
<div id="header">
	<p class="username">
		<a href="#"><%=user.getName()%></a>
	</p>
	<p class="welcome">
		<a href="#">欢迎进入MyMail邮箱代理!</a>
	</p>
	<div class="time" id="time">
		&nbsp;时间
	</div>
	<div class="item">
		<ul>
			<li>
				<a href="#">首页</a>
			</li>
			<li>
				<a href="#">设置</a>
			</li>
			<li>
				<a href="#">帮助</a>
			</li>
			<li class="last">
				<a href="#" onclick="logout()">退出</a>
			</li>
		</ul>
	</div>
</div>
<div id="left">
	<div id="menu">
		<button class="main_menu" onclick="writemail()">
			写信
		</button>
		<button class="main_menu">
			收信
		</button>
	</div>
	<div id="folder">
		<ul>
			<li>
				<a href="#" onclick="changeSelect(this);">收件箱</a>
			</li>
			<li>
				<a href="#" onclick="changeSelect(this);">已发送</a>
			</li>
			<li>
				<a href="#" onclick="changeSelect(this);">草稿箱</a>
			</li>
			<li>
				<a href="#" onclick="changeSelect(this);">垃圾箱</a>
			</li>
		</ul>
	</div>
	<hr />
	<div id="myfolder">
		<hh:showfolder array="<%=user.getFolders() %>" />
	</div>
	<hr />
	<div id="contacts">
		<ul>
			<li>
				<a href="#" onclick="left_a.out_action(test1)"
					onmouseover="left_a.mouseOver(this)"
					onmouseout="left_a.mouseOut(this)"><p class="left_r">
						<span onclick="left_a.in_action(test)"
							onmouseover="UnderLine(this);" onmouseout="UnderLine1(this)">[添加]</span>
					</p> <span>联系人 </span> </a>
			</li>
		</ul>
	</div>
	<hr />

	<div id="maillist">
		<hh:showmailboxs array="<%=user.getMailboxs() %>"></hh:showmailboxs>
	</div>
</div>
<div id="main">
	这是右边这是右边这是右边这是右边这是右边这是右边这是右边这是右边这是右边这是右边这是右边这是右边这是右边这是右边
</div>
